package com.boot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.entity.Comment;

import java.util.List;

public interface ICommentService extends IService<Comment> {

    /**
     * 获取某问题下的所有已通过评论
     */
    List<Comment> getApprovedCommentsByQuestionId(Long questionId);
}
